@layout("/common/_container.html",{js:["/assets/storeProcurement/storeProcurement_add.js"]}){
<style>
    .layui-form-item {
        margin-bottom: 2px;
    }
    .layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
        border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
        background-color: #e6e6e6;
    }
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="hxOrderOutForm" lay-filter="hxOrderOutForm" class="layui-form layui-form-pane" style="max-width: 1350px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
                    <legend>录入出库订单</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="font-weight: 600;">所属客户<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <select id="customerId" name="customerId" lay-filter="customerId" lay-verify="required" required>
                                @for(item in customerlist!){
                                <option value="${item.id}">${item.customerName}</option>
                                @}
                            </select>
                        </div>
                        <div class="layui-form-mid">    </div>
                        <label class="layui-form-label" style="font-weight: 600;">配送日<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <input id="peisongTime" name="peisongTime" placeholder="请选择配送日" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
                        </div>
                        <div class="layui-form-mid">    </div>
                        <label class="layui-form-label">订单号</label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <input id="orderOutNumber" name="orderOutNumber" placeholder="请输入订单号" type="text" class="layui-input" lay-verify="" required/>
                        </div>
                        <div class="layui-form-mid">    </div>
                        <label class="layui-form-label">单据类型</label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <select id="orderType" name="orderType" lay-filter="orderType" lay-verify="" required>
                                <option value="门店采购">门店采购</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <div class="layui-form-mid">    </div>
                        <label class="layui-form-label" style="font-weight: 600;">下单门店<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 180px;">

                            <select id="getUnitId" name="getUnitId" lay-filter="getUnitId" lay-verify="required" required>
                                <option value="">选择下单门店</option>
                                @for(item in basicUnitList!){
                                <option value="${item.id}">${item.putgoodsName}</option>
                                @}
                            </select>
                        </div>
                        <div class="layui-form-mid">    </div>
                        <label class="layui-form-label" style="font-weight: 600;">发货仓库<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <select id="setWarehouseId" name="setWarehouseId" lay-filter="setWarehouseId" lay-verify="required" required>
                                <option value=""></option>
                            </select>
                        </div>

                        <label class="layui-form-label" style="font-weight: 600;">发货单位<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 180px;">
                            <select id="setUnitId" name="setUnitId" lay-filter="setUnitId" lay-verify="required" required>
                                @for(item in pglist!){
                                <option value="${item.id}">${item.putgoodsName}</option>
                                @}
                            </select>
                        </div>


                    </div>
                </div>



                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}




